# -*- mode:makefile -*-;

include ../SETTINGS
include ../COMMON

foo:
	@echo Please state a target

compile: 
#	CIAOALIASPATH=$(CIAOALIAS) $(CIAOC) dbfillin.pl
	CIAOALIASPATH=$(CIAOALIAS) $(CIAOC) fillin.pl

just-install:
	-/usr/bin/install -d \
		--mode=$(WEB_DIR_PERMISSIONS) --group=$(WWW_GROUP) \
		$(FILLIN_DIR)
# 	-/usr/bin/install -p \
# 		--mode=$(WEB_CGI_PERMISSIONS) --group=$(WWW_GROUP) \
# 		dbfillin $(FILLIN_DIR)/dbfillin.cgi
	-/usr/bin/install -p \
		--mode=$(WEB_CGI_PERMISSIONS) --group=$(WWW_GROUP) \
		fillin $(FILLIN_DIR)/fillin.cgi

just-install-test:
	-mkdir --parents $(FILLIN_DIR_TEST)
	-chmod $(PERMISSIONS) $(FILLIN_DIR_TEST)
	-chgrp $(WWW_GROUP)  $(FILLIN_DIR_TEST)
	-cp -f dbfillin $(FILLIN_DIR_TEST)/dbfillin.cgi
	-cp -f fillin $(FILLIN_DIR_TEST)/fillin.cgi

clean:
	rm -f *.po *.itf

distclean: clean
	rm -rf dbfillin 
	rm -rf fillin 
	rm -f *~

